#include "weightdata.h"

weightdata::weightdata(QObject *parent) : QObject(parent) {

}

weightdata::weightdata(const int &id, const float &weight, const QDateTime& time, QObject *parent)
    : QObject(parent), m_id(id), m_weight(weight), m_time(time) {

}
int weightdata::id() const {
    return m_id;
}
float weightdata::weight() const {
    return m_weight;
}
QDateTime weightdata::time() const {
    return m_time;
}
